package myenum.enum05;

public class Test02 {
    public static void main(String[] args) {
        Gender gender = Gender.男;
        switch (gender){
            case 女:
                System.out.println("is a girl");
                break;
            case 男:
                System.out.println("id a boy");
                break;
        }
    }
}
